<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页的参考</title>
    <link rel="stylesheet" href="./assets/css/wlh_lot.css">
    <link rel="stylesheet" href="./assets/fonts/iconfont.css">
    <script type="text/javascript" src="./assets/javascript/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="./assets/javascript/perfect-scrollbar.css">
    <script type="text/javascript" src="./assets/javascript/perfect-scrollbar.min.js"></script>
</head>
<body class="body">
<!-- 顶部 -->
<div class="wlh-containner fixed-header">
    <div class="header">
        @import "header.html"
    </div>
    <div class="wlh-main">
        <!-- 左边 -->
        <div class="wlh-sider-left" id="wlh-sider-left">
            @import "left.html"
        </div>
        <!-- 中间 -->
        <div class="wlh-main-out">
            <div class="wlh-main-out-contain">
                @import "content.html"
            </div>
            <!-- 底部 -->
            <div class="wlh-footer">
                <div class="wlh-f-contain"></div>
            </div>
        </div>
    </div>
    <!-- 隐藏的右边 tudo-->
    <!-- lotter-res-open -->
    <div class="lotter-res-contain" id="lotter-res-contain">
        @import "lotterRes.html"
    </div>
</div>
<script type="text/javascript" src="./assets/javascript/main.js"></script>
<script type="text/javascript">
    new PerfectScrollbar(".w-s-left", {
        "suppressScrollX": true, "wheelSpeed": 2, "wheelPropagation": !1, "minScrollbarLength": 20
    });
    $(function () {
        addSmallScreen();
        $(window).resize(function () {
            addSmallScreen();
        });
    });

    //小屏添加类
    function addSmallScreen() {
        $height=document.documentElement.clientHeight || document.body.clientHeight;
        var browser_width = parseFloat(document.documentElement.clientWidth || document.body.clientWidth);
        if (browser_width < 1278) {
            $(".wlh-containner").addClass("close-menu");
        } else {
            $(".wlh-containner").removeClass("close-menu");
        }
        $(".report-innner").css("height",($height-60)/2+"px");
    }
    function loadMore($fClassSel,$innerClassSel,$statusV){
        $status=$statusV;
        $($fClassSel).scroll(function(){
            if ($status) {
                return;
            }
            $scrollTopVal=$(this).scrollTop();
            $height=$(this).height();
            $innerHeight=$($innerClassSel).height();
            if($innerHeight-$height-$scrollTopVal<=0){
                $status=true;
                console.log("执行加载数据---");
            }
        });
    }
   // loadMore(".report-i-f",".report-finish",false);
  //  loadMore(".report-i-d",".report-doing",false);

    $(".result-table li.th .balls").addClass('selected');
    $(".result-table li.th ol:gt(1)").bind('click', function () {
        var cs = $(this).attr('class');
        $(this).addClass('selected').siblings().removeClass('selected');
        $(".result-table li:gt(0) ." + cs).css('display', 'inline-block').siblings().hide();
        $(".result-table li ol.cycleid,.result-table li ol.sdate").show();
    });
</script>
</body>
</html>